<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@page import="test.*"%>

<%@page import="java.sql.*"%>

<%@page import="java.util.*"%>
<%@page import = "java.util.Date" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel = "stylesheet" type = "text/css" href = "main.css"></link>
<title>List Of Attendees</title>
</head>
<body>

<div id = "header">
 <div style="float:left">
 <img height="75px" width="165px" alt="IMAGE" src="./Img/banner1.jpg"/>
 <img height="75px" width="165px" alt="IMAGE" src="./Img/banner2.jpg"/>
 <img height="75px" width="165px" alt="IMAGE" src="./Img/banner3.jpg"/>
 <img height="75px" width="160px" alt="IMAGE" src="./Img/banner5.jpg"/>
  <img height="75px" width="160px" alt="IMAGE" src="./Img/banner4.jpg"/>
   <img height="75px" width="162px" alt="IMAGE" src="./Img/banner7.jpg"/> 
 </div>
 
 </div> 
 <div id = "main" > 
 <div id = "main-left"> 
 <div id = "links">
 <a id = "link1" href ="Home.jsp"> Home </a>
 <br/>
 <br/>
 <a id = "link2" href = "viewConferences.jsp"> View Conference</a>
  <br/>
 <br/>
 <a id = "link3" href = "RegisterConference.jsp"> Register for Conference</a>
  <br/>
 <br/>
 <a id = "link4" href = "ListOfAttendees.jsp"> List of Attendees</a>
  <br/>
 <br/>
 <a id = "link5" href = "PresentWorkshop.jsp">Submit Proposal</a>
  <br/>
 <br/>
 <a id = "link6" href = "Admin.jsp">Administrator</a>
 </div>
 </div>
 <div id = "main-right">
  <h1 id = "title" ><em>Tutor/Mentor Leadership And Networking Conference</em> </h1>
  <div class = "myProfile">
  <form action="ListOfAttendeesDetails.jsp" id = "attendeeInfo" method = "post">
  <h4>Select the conference for which you wish to view the List of Attendees</h4>
  
  <select name="Conference_list">
<option value = "1">Select</option>
<%
ConferenceDataAccess confdata = new ConferenceDataAccess();
Conference conf = new Conference();
List <Conference>l1 = new ArrayList<Conference>();
l1 = confdata.getConferences();
Iterator<Conference> i = l1.iterator();

while(i.hasNext())
{
	conf = i.next();
	String nameOfConference = conf.getConfName();
%>
<option value="<%=nameOfConference%>"><%=nameOfConference%></option>
<% } %>
</select>
<input type ="submit" id = "btnSubmit" value = "Search"></input>
<h5> Note: Not all registered attendees are on this list. Only those who chose to be included are listed here</h5>
  </form>
  </div>
  </div>
  </div>
  

</body>
</html>